const router = require('koa-router')(),
      adminController = require('../controllers/Admin');


 router.prefix('/admin');//默认前缀
 router.get('/create_admin', adminController.createAdmin);

 router.post('/login_action', adminController.loginAction);

 router.get('/login_check', adminController.loginCheck);

 router.get('/logout_action', adminController.logOutAction);

 module.exports = router;